package com.ptu.spzx.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.domain.Stu.StuAnswer;
import com.ptu.spzx.domain.Stu.Vo.StuAnswerVo;
import com.ptu.spzx.domain.Stu.Vo.StuScoreVo;
import com.ptu.spzx.domain.Stu.dto.StuAnswerDto;
import com.ptu.spzx.domain.Stu.dto.StuAnswerScoreDto;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author YT
 * @since 2024-01-28
 */
public interface IStuAnswerService extends IService<StuAnswer> {

    void submitStuAnswer(StuAnswerDto stuAnswerDto);

    void submitStuScore(StuAnswerScoreDto stuAnswerScoreDto);

    PageInfo<StuAnswer> getStuScoreList(Long examId, Integer pageNum, Integer pageSize);

    StuAnswer getStuAnswer(String stuId,Long epId);
}
